<? if(!defined('IN_MDL')) exit('Access Denied');?>
<? include $this->gettpl('header');?> 

<form action="<? echo U('Order/sumbitorder')?>" method=post>

 <table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#e6e6e6"><table width="920" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="950" valign="top" bgcolor="#FFFFFF"><table width="900" border="0" align="center" cellpadding="0" cellspacing="10" bgcolor="#666666">
          <tr>
            <td height="600" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="720" height="1" colspan="3" bgcolor="#E6E6E6"></td>
                </tr>
              <tr>
                <td height="30" colspan="3" bgcolor="#f9f9f9"><table border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="25"><img src="<?=APPPUBLIC?>Images/Public/Point.gif" width="14" height="10" /></td>
                    <td class="Categories_Menu"><a href="#" class="Categories_Menu_a">首页</a> <font face="宋体">></font> 订单提交</td>
                    </tr>
                  </table></td>
                </tr>
              <tr>
                <td height="1" colspan="3" bgcolor="#E6E6E6"></td>
                </tr>
              </table>
              <table border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="100" valign="bottom"><img src="<?=APPPUBLIC?>Images/ShoppingBag/Title_1.gif" /></td>
                  <td width="50"></td>
                  <td valign="bottom"><img src="<?=APPPUBLIC?>Images/ShoppingBag/Title_2.gif" /></td>
                  <td width="50"></td>
                  <td valign="bottom"><img src="<?=APPPUBLIC?>Images/ShoppingBag/Title_3_2.gif" /></td>
                  </tr>
                <tr>
                  <td height="30" colspan="5">&nbsp;</td>
                  </tr>
                </table>
              <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td class="Order_Title">收货人信息</td>
                  <td width="12%" class="Order_Title"></td>
                </tr>
                <tr><td height="5" colspan="2"></td></tr>              
                <tr>
                  <td height="50" colspan="2"><span class="Order_Txt">&nbsp;&nbsp;&nbsp;收货人:<?=$add['consignee']?>&nbsp;&nbsp;&nbsp;&nbsp;<br />
                    &nbsp;&nbsp;&nbsp;收货地址：深圳市龙岗区布吉桂芳园听雨居D1205 <br />
&nbsp;&nbsp; 邮编:<?=$add['zipcode']?><br />
&nbsp;&nbsp; 联系电话:<?=$add['tel']?></span></td>
                  </tr>
                <tr>
                  <td class="Order_Title">支付、配送方式及到货时间</td>
                  <td class="Order_Title"></td>
                  </tr>
                <tr><td height="5" colspan="2"></td></tr>                
                <tr>
                  <td colspan="2"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="20%" height="35" class="Order_title2">支付方式</td>
                      <td><span class="Order_Txt"><?=$payment_name?></span></td>
                      </tr>
                    <tr>
                      <td height="1" colspan="2" background="<?=APPPUBLIC?>Images/Public/line.gif"></td>
                      </tr>
                    <tr>
                      <td height="35" class="Order_title2">配送方式</td>
                      <td><span class="Order_Txt"><?=$shipping_name?></span></td>
                      </tr>
                    <tr>
                      <td height="1" colspan="2" background="<?=APPPUBLIC?>Images/Public/line.gif"></td>
                      </tr>
                    <tr>
                      <td height="35" class="Order_title2">送货时间</td>
                      <td><span class="Order_Txt"><?=$time_name?></span></td>
                      </tr>
                    </table></td>
                  </tr>
                <tr>
                  <td class="Order_Title">其他信息</td>
                  <td class="Order_Title"></td>
                  </tr>
                <tr>
                  <td height="5" colspan="2"></td>
                  </tr>
                <tr>
                  <td colspan="2"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="20%" height="35" class="Order_title2">是否需要发票</td>
                      <td><span class="Order_Txt"><?=$is_fapiao?></span></td>
                      </tr>
                    <tr>
                      <td height="1" colspan="2" background="<?=APPPUBLIC?>Images/Public/line.gif"></td>
                      </tr>
                    <tr>
                      <td height="35" class="Order_title2">缺货处理</td>
                      <td><?=$goods_not?></td>
                      </tr>
                    <tr>
                      <td height="1" colspan="2" background="<?=APPPUBLIC?>Images/Public/line.gif"></td>
                      </tr>
                    <tr>
                      <td height="35" class="Order_title2">订单备注</td>
                      <td><?=$postscript?></td>
                      </tr>
                    <tr>
                      <td height="60" colspan="2" align="center" class="Order_title2"><input name="button" type="submit" class="input_2" id="button"   value="  提交订单  " /></td>
                      </tr>
                    </table></td>
                  </tr>
               <tr>
                  <td height="10" colspan="2" class="Order_Title">商品清单</td>
                </tr>
                <tr>
                  <td colspan="2" height="10"></td>
                </tr>
				
                <tr>
                  <td colspan="2" height="10"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td colspan="7" class="line_Bg_1" height="1"></td>
                    </tr>
                    <tr>
                      <td colspan="7" height="2"></td>
                    </tr>
                    <tr bgcolor="#f1f1f1">
                      <td width="10%"  align="center">缩列图</td>
                      <td height="30" align="center">物品名称</td>
                      <td width="10%" align="center">颜色</td>
                      <td width="8%" align="center">尺码</td>
                      <td width="10%" align="center">单价（元）</td>
                      <td width="8%" align="center">数量</td>
                      <td width="8%" align="center">合计（元）</td>
                    </tr>
                    <tr>
                      <td colspan="7" height="2"></td>
                    </tr>
					<? foreach((array)$goods_list as $key => $val) {?>
                    <tr>
                      <td colspan="7" class="line_Bg_1" height="1"></td>
                    </tr>
					
                    <tr>
                      <td height="70" align="center" bgcolor="#FFFFFF"><img src="<?=$val['goods_thumb']?>" width="60" height="60" border="0" class="P_Img" /></td>
                      <td height="70" align="center" bgcolor="#FFFFFF"><?=$val['goods_name']?></td>
                      <td align="center" bgcolor="#FFFFFF"><img src="<?=$val['color']?>" /></td>
                      <td align="center" bgcolor="#FFFFFF"><?=$val['size']?></td>
                      <td align="center" bgcolor="#FFFFFF"><?=$val['goods_price']?></td>
                      <td align="center" bgcolor="#FFFFFF"><?=$val['goods_number']?></td>
                      <td align="center" bgcolor="#FFFFFF"><?=$val['subtotal']?></td>
                    </tr>
					<?}?>                   
                  </table></td>
                </tr>
                </table></td>
            </tr>
        </table></td>
        </tr>
    </table></td>
  </tr>
</table>
</form>



<? include $this->gettpl('footer');?>